Skip to content

Conversation

@SungJin1212
Copy link
Member

This PR updates the InitLogger function to initialize the global SLogger variable using GoKitLogToSlog(Logger). previously, SLogger was initialized as a NopLogger and not updated, making it unusable for actual logging.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@dosubot dosubot bot added the go Pull requests that update Go code label Nov 20, 2025
@yeya24
Copy link
Contributor

yeya24 commented Nov 22, 2025

previously, SLogger was initialized as a NopLogger and not updated, making it unusable for actual logging.

Where did we initialize Slogger as a noop before?

@SungJin1212
Copy link
Member Author

@SungJin1212 SungJin1212 enabled auto-merge (squash) November 28, 2025 00:36
@SungJin1212 SungJin1212 disabled auto-merge November 28, 2025 00:37
@SungJin1212 SungJin1212 merged commit 13e7c40 into cortexproject:master Nov 28, 2025
98 of 102 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update Go code size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants